﻿<div>
    <caltech-header title="Standard" page="1">
        <h3>STANDARDS UTILIZED</h3>
    </caltech-header>

    <div class="pull-right-print">
        <div class="row">
            <div class="col-xs-2">
                <label>Standard #:</label>
            </div>
            <div class="col-xs-4">
                <p editable-text="model.standardNo" buttons="no" blur="submit"><strong>{{model.standardNo}}</strong></p>
            </div>

            <div class="col-xs-2">
                <label>Location:</label>
            </div>
            <div class="col-xs-4">
                <a href="#" e-ng-options="s.value as s.text for s in standardLocation" editable-select="model.location" buttons="no" blur="submit" e-name="location">
                    {{showStandardLocation(model.location)}}
                </a>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-2">
                <label>Manufacturer:</label>
            </div>
            <div class="col-xs-4">
                <p editable-text="model.manufacturer" buttons="no" blur="submit">{{model.manufacturer}}</p>
            </div>

            <div class="col-xs-2">
                <label>Login Date:</label>
            </div>
            <div class="col-xs-4">
                <p e-datepicker-popup="dd/MMM/yyyy" editable-bsdate="model.loginDate" buttons="no" blur="submit">{{model.loginDate | date: 'dd/MMM/yyyy'}}</p>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-2">
                <label>Model #:</label>
            </div>
            <div class="col-xs-4">
                <p editable-text="model.modelNumber" buttons="no" blur="submit">{{model.modelNumber}}</p>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-2">
                <label>Serial #:</label>
            </div>
            <div class="col-xs-4">
                <p editable-text="model.serialNumber" buttons="no" blur="submit">{{model.serialNumber}}</p>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-2">
                <label>Due date:</label>
            </div>
            <div class="col-xs-4">
                <p e-datepicker-popup="dd/MMM/yyyy" editable-bsdate="model.dueDate" buttons="no" blur="submit">{{model.dueDate | date: 'dd/MMM/yyyy'}}</p>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-2">
                <label>Test Report #:</label>
            </div>
            <div class="col-xs-4">
                <p editable-text="model.testReportNumber" buttons="no" blur="submit">{{model.testReportNumber}}</p>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-2">
                <label>Description :</label>
            </div>
            <div class="col-xs-4">
                <p editable-text="model.description" buttons="no" blur="submit">{{model.description}}</p>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-2">
                <label>Technician :</label>
            </div>
            <div class="col-xs-4">
                <span class="form-control-static">{{model.technicianName}}</span>
            </div>
        </div>
    </div>
    <page-footer page="1"></page-footer>
</div>

<nav class="navbar navbar-default navbar-fixed-bottom navbar-inverse" role="navigation">
    <div class="container">
        <button class="btn btn-warning navbar-btn" ng-click="back()">Back</button>
        <button class="btn btn-warning navbar-btn pull-right" has-access="StandardDelete" busy-click="remove(model)" success="Deleted successfully" ng-show="model.certificateStandardId">Delete</button>
        <button class="btn btn-info navbar-btn" ng-show="model.certificateStandardId" has-access="StandardCreate" ng-click="copy()">Copy</button>
        <button class="btn btn-info navbar-btn" ng-show="model.certificateStandardId" busy-click="update(model)" has-access="StandardEdit" success="Updated successfully">Update</button>
        <button class="btn btn-info navbar-btn" ng-hide="model.certificateStandardId" busy-click="save(model)" has-access="StandardCreate" success="Created successfully">Save</button>
        <button class="btn btn-info navbar-btn" ng-show="model.certificateStandardId" ng-click="doPrint()"><i class="glyphicon glyphicon-print"></i>&nbsp;Print</button>
    </div>
</nav>
